import React from 'react';
import { observer } from 'mobx-react-lite';
import appStore from './store/app';

export default observer(() => {
    console.log('re-render Loading');
    return appStore.loading ? (
        <div className=' absolute top-0 left-0 bottom-0 right-0 flex items-center justify-center'>加载中</div>
    ) : null;
});
